import {Component} from 'react';
import axios from "axios";

class RequestTest extends Component {
  getData = () => {
    axios.get('/cybereng-quality/quality/regulation/page', {
      params: {
        page:1,
        size:9999,
        portalId: "",
      },
      baseURL: '/api',
    }).then(res => {
      console.log(res)
    })
  }

  render() {
    return (
      <div onClick={this.getData}>
        请求接口
      </div>
    );
  }
}

export default RequestTest;
